from tortoise import BaseDBAsyncClient


async def upgrade(db: BaseDBAsyncClient) -> str:
    return """
        ALTER TABLE `message` ADD `addr` VARCHAR(256)   COMMENT '地点';"""


async def downgrade(db: BaseDBAsyncClient) -> str:
    return """
        ALTER TABLE `message` DROP COLUMN `addr`;"""
